package com.egene.tw.activity.wiki;

import android.os.Bundle;

import com.egene.tw.base.BaseViewPagerFragment;
import com.egene.tw.base.ViewPageFragmentAdapter;

public class WikiViewPagerFragment extends BaseViewPagerFragment{
    @Override
    protected void onSetupTabAdapter(ViewPageFragmentAdapter adapter) {
        for(WikiTab tab : WikiTab.values()){
            adapter.addTab(tab.getTitle(),tab.name(),tab.getClz(),getBundle());
        }
    }

    private Bundle getBundle() {
        Bundle bundle = new Bundle();
        return bundle;
    }
}
